<template>
  <div>
    <ModalVue
      title="这是一个新增弹框"
      content="这是新增弹框的内容"
      v-if="flag"
      @harry="fn"
    ></ModalVue>
  </div>
</template>

<script>
import ModalVue from './components/ModalVue.vue'
export default {
  data() {
    return {
      flag: true,
    }
  },
  components: {
    ModalVue,
  },
  methods: {
    fn() {
      this.flag = false

    }
  },
}
</script>
